package com.shensi.api.admin.client.applet;

import com.shensi.api.admin.client.fallback.applet.AssistClientFallBack;
import com.shensi.api.admin.client.fallback.common.CommonClientFallBack;
import com.shensi.common.core.constant.CloudConstant;
import com.shensi.common.core.domain.AjaxResult;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author: budian
 * @since: 2023/12/12
 */
@FeignClient(
        value = CloudConstant.ADMIN_SERVER,
        fallbackFactory = AssistClientFallBack.class)
@Component
public interface AssistClient {

    /**
     * 查询油枪
     */
    @GetMapping("/customer/ic/gunlist")
    public AjaxResult gunlist(@ApiParam(value = "用户名", required = true) Long stationId);
}
